<?php 

	$g = new Project();

	$g->addWP("WP 1",'2012-04-20','2012-05-12');
	$g->addWP("WP 2",'2012-04-22','2012-05-12','important');
	$g->addWP("WP 3",'2012-04-23','2012-05-12','urgent');

	$gantti = new Gantti($g->getWP(), array(
	  'title'      => "Gantt",
	  'cellwidth'  => 25,
	  'cellheight' => 35
	));

	echo $gantti;
?>